package cn.icanci.loopstack.ddk.web.model;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
* DdkNoticeConfig
*
* @author icanci
* @since 1.0 Created in 2023/01/04 20:34
*/
public class NoticeConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id  主键
     */
    private Long              id;

    /**
     * uuid  雪花算法随机UUID
     */
    private String            uuid;

    /**
     * desc  功能描述
     */
    private String            desc;

    /**
     * create_time  创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date              createTime;

    /**
     * update_time  更新时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date              updateTime;

    /**
     * is_delete  状态 1无效，0有效
     */
    private Integer           isDelete;

    /**
     * env  环境
     */
    private String            env;

    /**
     * notice_config_name  通知配置名称
     */
    private String            noticeConfigName;

    /**
     * notice_config_resource  通知配置资源
     */
    private String            noticeConfigResource;

    /**
     * notice_value  测试配置值，因为可能通过配置值进行特殊处理
     */
    private String            noticeValue;

    /**
     * app_uuid  项目关联uuid，多个则会有多条记录
     */
    private String            appUuid;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getUuid() {
        return this.uuid;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() {
        return this.isDelete;
    }

    public void setEnv(String env) {
        this.env = env;
    }

    public String getEnv() {
        return this.env;
    }

    public void setNoticeConfigName(String noticeConfigName) {
        this.noticeConfigName = noticeConfigName;
    }

    public String getNoticeConfigName() {
        return this.noticeConfigName;
    }

    public void setNoticeConfigResource(String noticeConfigResource) {
        this.noticeConfigResource = noticeConfigResource;
    }

    public String getNoticeConfigResource() {
        return this.noticeConfigResource;
    }

    public void setNoticeValue(String noticeValue) {
        this.noticeValue = noticeValue;
    }

    public String getNoticeValue() {
        return this.noticeValue;
    }

    public String getAppUuid() {
        return appUuid;
    }

    public void setAppUuid(String appUuid) {
        this.appUuid = appUuid;
    }
}